﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YXChatApiService.Application.ChatRecordService.Dtos;
using YXChatApiService.Core.ChatRecordEntity;

namespace YXChatApiService.Application.ChatRecordService.Mapper
{
    public class ChatRecordAutoMapper:Profile
    {
        public ChatRecordAutoMapper()
        {
            CreateMap<CreateChatRecordInput, ChatRecord>();
            CreateMap<ChatRecord, ChatRecordDto>();
        }
    }
}
